package cn.yyh.servicePet.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
public class Pet{
    private Long id;
    private String name;
    private String resources;
    private BigDecimal saleprice;
    private Date offsaletime;
    private Date onsaletime;
    private Integer state = 0;
    private BigDecimal costprice;
    private Date createtime = new Date();
    private Long type_id;
    private PetType type;
    private Long shop_id;
    private Shop shop;
    private Long user_id;
    private User user;
    @TableField("search_master_msg_id")
    private Long search_master_msg_id;

    private PetDetail detail = new PetDetail();

}
